package com.cui.project.recommend.service;


import com.cui.project.recommend.model.dto.RecommendItem;

import java.util.List;

public interface RecommendService {
    List<RecommendItem> recommendForUser(Long userId, int topK);
    void rebuildModels();                   // 定时或手动重建
    void favorite(Long userId, Long interfaceId, boolean enable); // 收藏/取消


}